body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.line {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chart-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
}

.tab-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.tab-button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
    font-size: 14px;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #f0f0f0;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f0f0f0;
}

/* 移动端适配 */
@media (min-width: 768px) {
    .line {
        flex-direction: row;
    }
    
    .chart-container {
        flex: 1;
    }
}

/* 仪表图颜色渐变 */
.gauge-0 { background-color: #e6f7ff; }
.gauge-20 { background-color: #bae7ff; }
.gauge-40 { background-color: #91d5ff; }
.gauge-60 { background-color: #69c0ff; }
.gauge-80 { background-color: #40a9ff; }
.gauge-100 { background-color: #1890ff; }
